package com.fs.service.bo.device;

import com.fs.entity.Switch;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
public class BoSwitch {
    private int id;
    private String typeId;
    private String deviceId;
    private String name;

    public BoSwitch(Switch s) {
        id = s.getId();
        typeId = s.getTypeId();
        deviceId = s.getDeviceId();
        name = s.getName();
    }
}
